function [bestScheduledTargets, bestScheduledPriorities, status] = GRASP_UpdateSolution2(PQ, bestScheduledTargets, bestScheduledPriorities, scheduledTargets, scheduledPriorities)
%GRASP_UpdateSolution Summary of this function goes here
%   Detailed explanation goes here

fitnessBest = GRASP_Fitness2(bestScheduledPriorities, [PQ.queue(:).priority]);
fitnessNew = GRASP_Fitness2(scheduledPriorities, [PQ.queue(:).priority]);

if fitnessBest < fitnessNew
  bestScheduledTargets = scheduledTargets;
  bestScheduledPriorities = scheduledPriorities;
end

status = 1;
end